Prevent crashes on MS-Windows when w32-downcase-file-names is non-nil.
authorEli Zaretskii <eliz@gnu.org>
Sun, 18 Nov 2012 16:43:36 +0000 (18:43 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 18 Nov 2012 16:43:36 +0000 (18:43 +0200)
commite08dc975e2a6d62b5f1147617d09320443222669
treebe681607bec31ae78d99928bb7a46685440a5e74
parent123523c21809335e7bf0611f8778164c37d4d84e
Prevent crashes on MS-Windows when w32-downcase-file-names is non-nil.

 src/fileio.c (Fsubstitute_in_file_name, Ffile_name_directory)
 (Fexpand_file_name) [DOS_NT]: Pass encoded file name to
 dostounix_filename.  Prevents crashes down the road, because
 dostounix_filename assumes it gets a unibyte string.  Reported by
 Michel de Ruiter <michel@sentient.nl>, see
 http://lists.gnu.org/archive/html/help-emacs-windows/2012-11/msg00017.html
src/ChangeLog
src/fileio.c